package org.syx.edl;

import javax.validation.ValidationException;

/**
 * @author:whh
 * @date: 2025-09-05 22:07
 * <p></p>
 */
public interface ItemValidator<T> {


    void open()throws Exception;
    /**
     * 数据校验
     * @param item
     * @throws ValidationException
     */
    void validate(T item)throws ValidationException;



    void close()throws Exception;
}
